package grape.attend.rest.user.vo;

import grape.common.rest.vo.BaseVo;
import grape.common.rest.vo.NowVo;
import grape.common.service.trans.TransField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 用户打卡表
 * </p>
 *
 * @author yangwei
 * @since 2020-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="三个月的用户打卡数据响应对象")
public class UserClockThreeMonthVo extends BaseVo {

    private static final long serialVersionUID = 1L;

    @TransField
    @ApiModelProperty(value = "前一个月的")
    private List<UserClockDateVo> preMonth;

    @TransField
    @ApiModelProperty(value = "当前（给定时间）月的")
    private List<UserClockDateVo> currentMonth;

    @TransField
    @ApiModelProperty(value = "下一个月的")
    private List<UserClockDateVo> nextMonth;

    @ApiModelProperty(value = "当前时间")
    private NowVo now;

}
